/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.course.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 课后习题答题表 实体类
 *
 * @author junxin
 * @since 2023-05-16
 */
@Data
@TableName("ts_sub_bank_answer_option")
@ApiModel(value = "SubBankAnswerOption对象", description = "课后习题答题表")
@EqualsAndHashCode(callSuper = true)
public class SubBankAnswerOptionEntity extends TenantEntity {
	/**
	 * 用户id
	 */
	@ApiModelProperty("用户id")
	private Long userId;

	/**
	 * subId
	 */
	@ApiModelProperty("小节id")
	private Long subId;

	/**
	 * 课后习题id
	 */
	@ApiModelProperty("课后习题id")
	private Long bankId;

	/**
	 * 题目类型
	 */
	@ApiModelProperty("题目类型")
	private Integer questionType;

	/**
	 * 简答题则是作答内容
	 */
	@ApiModelProperty("回答内容")
	private String answerContent;

	/**
	 * 回答内容 单选、多选、判断 则是选项id
	 * 选择的选项id
	 */
	@ApiModelProperty("选择的选项id")
	private Long checked;


}
